package controller;
import java.util.ArrayList;

import model.Movie;
import database.DBMovie;

public class CtrMovie {
	
	private DBMovie mov;
	
	public CtrMovie()
	{
		mov = new DBMovie();
	}
	
//	public Movie getMovie(String name)
//	{
//		return mov.getMoviesByName(name);
//	}
	
	public ArrayList<Movie> getMovies(String name)
	{
		return mov.getMoviesByName(name);
	}
}
